package cn.tedu.csmall.product.webapi.mapper;

import cn.tedu.csmall.pojo.entity.Album;
import cn.tedu.csmall.pojo.vo.AlbumListItemVO;
import cn.tedu.csmall.pojo.vo.AlbumStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AlbumMapper {

    int insert(Album album);

    AlbumStandardVO getById(Long id);

    AlbumStandardVO getByName(String name);

    List<AlbumListItemVO> list();

}
